package edu.sdjzu.exam.domain.examSession;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Answer {
    private Long answerId;
    private Long sessionId;
    private Long examId;
    private Long studentId;
    private Long questionId;
    private String answerContent;
    private String filePath;
    private Double score; // 改为 Double 以匹配 DECIMAL(5,2)
    private String comment;
    private Long markedBy;
    private LocalDateTime markedAt;
    private Boolean isDraft;
    private LocalDateTime answerTime;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}
